package com.yl.auth.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "fangjian")
public class Fangjian implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 房间号
     */
    private Integer roomNo;

    /**
     * 楼层外键关联
     */
    private Long floorId;

    /**
     * 房间类型 0包间 1双人间 2三人间 3豪华海景套房
     */
    private Long roomType;

    /**
     * 创建人id
     */
    private Long adminId;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;


}
